package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 supplier_info
 *
 * @author ruoyi
 * @date 2024-05-17
 */
public class SupplierInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 供应商id
     */
    private String enterpriseId;

    /**
     * 客户机构id
     */
    private Long enterpriseOrgId;

    /**
     * 主分类id
     */
    private String classificationId;

    /**
     * $column.columnComment
     */
    private String classificationName;

    /**
     * 机构名称
     */
    @Excel(name = "机构名称", sort = 4)
    private String enterpriseName;

    /**
     * 行政区域
     */
    private String administrativeArea;

    /**
     * 标记为
     */
    private String markAs;

    private String markAsName;
    /**
     * 采购金额
     */
    private String PurchaseAmount;
    /**
     * 机构性质
     */
    @Excel(name = "机构性质", sort = 2, comboDictType = "enterprise_nature", dictType = "enterprise_nature")
    private String enterpriseNature;

    /**
     * 公司编号
     */
    private String enterpriseNo;

    /**
     * 机构来源
     */
    @Excel(name = "机构来源", sort = 5, comboDictType = "enterprise_source", dictType = "enterprise_source")
    private String enterpriseSource;

    /**
     * 机构简称
     */
    private String enterpriseAbbreviation;

    /**
     * 法人代表
     */
    @Excel(name = "法人代表", sort = 11)
    private String legalRepresentative;

    /**
     * 成立日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, sort = 13, dateFormat = "yyyy-MM-dd")
    private Date establishmentDate;

    /**
     * 机构标签
     */
    private String enterpriseLabel;

    /**
     * 注册资金
     */
    @Excel(name = "注册资金", sort = 12)
    private String registeredCapital;

    /**
     * 合同金额
     */
    private BigDecimal contractAmount;

    /**
     * 所属行业
     */
    private String industry;

    /**
     * 联系人
     */
    @Excel(name = "联系人", sort = 6)
    private String contacts;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话", sort = 8)
    private String telephone;

    /**
     * 开户银行
     */
    private String bankName;

    /**
     * 开户账号
     */
    private String bankNo;

    /**
     * 主分类树路径
     */
    private String idPath;

    /**
     * 税务号
     */
    private String taxId;

    /**
     * 业务经理id
     */
    private Long transactionId;

    /**
     * 业务经理
     */
    private String businessManager;

    /**
     * 开发经理id
     */
    private Long developmentId;

    /**
     * 开发经理
     */
    private String developmentManager;

    /**
     * $column.columnComment
     */
    private String status;

    @Excel(name = "联系人职务", sort = 7)
    private String position;

    /**
     * 机构地址
     */
    @Excel(name = "详细地址", sort = 11)
    private String enterpriseAddress;

    /**
     * 经营范围
     */
    private String businessScope;

    /**
     * 归属于
     */
    private String belongTo;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", sort = 1,dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /**
     * $column.columnComment
     */
    private String creationId;

    /**
     * $column.columnComment
     */
    private String creationName;

    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date operateTime;

    /**
     * 操作人id
     */
    private Long operateId;

    /**
     * 部门id
     */
    private Long departmentId;

    /**
     * 部门名称
     */
    private String departmentName;

    /**
     * 当前操作人组织机构id
     */
    private Long organizationId;

    /**
     * 当前操作人组织机构名称
     */
    private String organizationName;

    /**
     * 是否删除
     */
    private String delFlag;
    @Excel(name = "行政区域", sort = 5)
    private String areaName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date followTime;
    /**
     * 最新进展  操作人
     */
    private String latestDevelopments;
    /**
     * 行业类别
     */
    private String industryType;
    private String type;

    /**
     * 机构类别
     */
    @Excel(name = "机构类别", sort = 3, comboDictType = "supplier_type", dictType = "supplier_type")
    private String supplierType;
    private String startTime;
    private String finishTime;
    private int registerStatus;
    //采购人姓名
    private String procurementPersonnel;
    //采购人id
    private Long procurementPersonnelId;


    //采购人部门id
    private String creationNickName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签约时间", sort = 9,dateFormat = "yyyy-MM-dd")
    private Date signTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", sort = 10,dateFormat = "yyyy-MM-dd")
    private Date endTime;


    //运营商
    private String operationCompany;

    //运营商id
    private Long operationCompanyId;

    public String getOperationCompany() {
        return operationCompany;
    }

    public void setOperationCompany(String operationCompany) {
        this.operationCompany = operationCompany;
    }

    public Long getOperationCompanyId() {
        return operationCompanyId;
    }

    public void setOperationCompanyId(Long operationCompanyId) {
        this.operationCompanyId = operationCompanyId;
    }

    public String getCreationNickName() {
        return creationNickName;
    }

    public void setCreationNickName(String creationNickName) {
        this.creationNickName = creationNickName;
    }

    public String getProcurementPersonnel() {
        return procurementPersonnel;
    }

    public void setProcurementPersonnel(String procurementPersonnel) {
        this.procurementPersonnel = procurementPersonnel;
    }

    public String getPurchaseAmount() {
        return PurchaseAmount;
    }

    public void setPurchaseAmount(String purchaseAmount) {
        PurchaseAmount = purchaseAmount;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
    public Long getProcurementPersonnelId() {
        return procurementPersonnelId;
    }

    public void setProcurementPersonnelId(Long procurementPersonnelId) {
        this.procurementPersonnelId = procurementPersonnelId;
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public int getRegisterStatus() {
        return registerStatus;
    }

    public void setRegisterStatus(int registerStatus) {
        this.registerStatus = registerStatus;
    }

    public String getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(String supplierType) {
        this.supplierType = supplierType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIndustryType() {
        return industryType;
    }

    public void setIndustryType(String industryType) {
        this.industryType = industryType;
    }

    public Date getFollowTime() {
        return followTime;
    }

    public void setFollowTime(Date followTime) {
        this.followTime = followTime;
    }

    public String getLatestDevelopments() {
        return latestDevelopments;
    }

    public void setLatestDevelopments(String latestDevelopments) {
        this.latestDevelopments = latestDevelopments;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseOrgId() {
        return enterpriseOrgId;
    }

    public void setEnterpriseOrgId(Long enterpriseOrgId) {
        this.enterpriseOrgId = enterpriseOrgId;
    }

    public String getClassificationId() {
        return classificationId;
    }

    public void setClassificationId(String classificationId) {
        this.classificationId = classificationId;
    }

    public String getClassificationName() {
        return classificationName;
    }

    public void setClassificationName(String classificationName) {
        this.classificationName = classificationName;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getAdministrativeArea() {
        return administrativeArea;
    }

    public void setAdministrativeArea(String administrativeArea) {
        this.administrativeArea = administrativeArea;
    }

    public String getMarkAs() {
        return markAs;
    }

    public void setMarkAs(String markAs) {
        this.markAs = markAs;
    }

    public String getMarkAsName() {
        return markAsName;
    }

    public void setMarkAsName(String markAsName) {
        this.markAsName = markAsName;
    }

    public String getEnterpriseNature() {
        return enterpriseNature;
    }

    public void setEnterpriseNature(String enterpriseNature) {
        this.enterpriseNature = enterpriseNature;
    }

    public String getEnterpriseNo() {
        return enterpriseNo;
    }

    public void setEnterpriseNo(String enterpriseNo) {
        this.enterpriseNo = enterpriseNo;
    }

    public String getEnterpriseSource() {
        return enterpriseSource;
    }

    public void setEnterpriseSource(String enterpriseSource) {
        this.enterpriseSource = enterpriseSource;
    }

    public String getEnterpriseAbbreviation() {
        return enterpriseAbbreviation;
    }

    public void setEnterpriseAbbreviation(String enterpriseAbbreviation) {
        this.enterpriseAbbreviation = enterpriseAbbreviation;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }

    public void setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
    }

    public Date getEstablishmentDate() {
        return establishmentDate;
    }

    public void setEstablishmentDate(Date establishmentDate) {
        this.establishmentDate = establishmentDate;
    }

    public String getEnterpriseLabel() {
        return enterpriseLabel;
    }

    public void setEnterpriseLabel(String enterpriseLabel) {
        this.enterpriseLabel = enterpriseLabel;
    }

    public String getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(String registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public BigDecimal getContractAmount() {
        return contractAmount;
    }

    public void setContractAmount(BigDecimal contractAmount) {
        this.contractAmount = contractAmount;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public String getIdPath() {
        return idPath;
    }

    public void setIdPath(String idPath) {
        this.idPath = idPath;
    }

    public String getTaxId() {
        return taxId;
    }

    public void setTaxId(String taxId) {
        this.taxId = taxId;
    }

    public Long getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(Long transactionId) {
        this.transactionId = transactionId;
    }

    public String getBusinessManager() {
        return businessManager;
    }

    public void setBusinessManager(String businessManager) {
        this.businessManager = businessManager;
    }

    public Long getDevelopmentId() {
        return developmentId;
    }

    public void setDevelopmentId(Long developmentId) {
        this.developmentId = developmentId;
    }

    public String getDevelopmentManager() {
        return developmentManager;
    }

    public void setDevelopmentManager(String developmentManager) {
        this.developmentManager = developmentManager;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEnterpriseAddress() {
        return enterpriseAddress;
    }

    public void setEnterpriseAddress(String enterpriseAddress) {
        this.enterpriseAddress = enterpriseAddress;
    }

    public String getBusinessScope() {
        return businessScope;
    }

    public void setBusinessScope(String businessScope) {
        this.businessScope = businessScope;
    }

    public String getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(String belongTo) {
        this.belongTo = belongTo;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getCreationId() {
        return creationId;
    }

    public void setCreationId(String creationId) {
        this.creationId = creationId;
    }

    public String getCreationName() {
        return creationName;
    }

    public void setCreationName(String creationName) {
        this.creationName = creationName;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public Long getOperateId() {
        return operateId;
    }

    public void setOperateId(Long operateId) {
        this.operateId = operateId;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("enterpriseId", getEnterpriseId())
                .append("enterpriseOrgId", getEnterpriseOrgId())
                .append("classificationId", getClassificationId())
                .append("classificationName", getClassificationName())
                .append("enterpriseName", getEnterpriseName())
                .append("administrativeArea", getAdministrativeArea())
                .append("markAs", getMarkAs())
                .append("markAsName", getMarkAsName())
                .append("enterpriseNature", getEnterpriseNature())
                .append("enterpriseNo", getEnterpriseNo())
                .append("enterpriseSource", getEnterpriseSource())
                .append("enterpriseAbbreviation", getEnterpriseAbbreviation())
                .append("legalRepresentative", getLegalRepresentative())
                .append("establishmentDate", getEstablishmentDate())
                .append("enterpriseLabel", getEnterpriseLabel())
                .append("registeredCapital", getRegisteredCapital())
                .append("contractAmount", getContractAmount())
                .append("industry", getIndustry())
                .append("contacts", getContacts())
                .append("telephone", getTelephone())
                .append("bankName", getBankName())
                .append("bankNo", getBankNo())
                .append("idPath", getIdPath())
                .append("taxId", getTaxId())
                .append("transactionId", getTransactionId())
                .append("businessManager", getBusinessManager())
                .append("developmentId", getDevelopmentId())
                .append("developmentManager", getDevelopmentManager())
                .append("status", getStatus())
                .append("enterpriseAddress", getEnterpriseAddress())
                .append("businessScope", getBusinessScope())
                .append("belongTo", getBelongTo())
                .append("creationTime", getCreationTime())
                .append("creationId", getCreationId())
                .append("creationName", getCreationName())
                .append("operateTime", getOperateTime())
                .append("operateId", getOperateId())
                .append("departmentId", getDepartmentId())
                .append("departmentName", getDepartmentName())
                .append("organizationId", getOrganizationId())
                .append("organizationName", getOrganizationName())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
